<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="nav.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>商城后台管理</title>
</head>
<body>
	<script type="text/javascript">
		var adddom = "<table class='table table-bordered table-hover table-condersed'>"
				+ "<tr class='active success info'>"
				+ "<th>编号</th>"
				+ "<th>名称</th>"
				+ "<th colspan=2>操作</th>"
				+ "</tr>"
				+ "<c:forEach items='${Suppliers}' var='firm'>"
				+ "<tr class='active success info'>"
				+ "<td>${firm.sid}</td>"
				+ "<td>${firm.sname}</td>"
				+ "<td><a href='../SupplierServlet?action=delete&sid=${firm.sid}' class='btn'>删除</a>"
				+ "</tr></c:forEach></table>";
		var navdom = "<strong class='am-text-danger am-text-lg'>厂商管理</strong> / <small>Firm</small>";
		$("#abc").html(navdom);
		$("#xyz").html(adddom);
	</script>
</body>
</html>